home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
program
/
gfxstf13.lha
/
cybergraphics.i
next >
Wrap
Text File
|
1995-11-25
|
3KB
|
122 lines
IFND CYBERGRAPHICS_CYBERGRAPHICS_I
CYBERGRAPHICS_CYBERGRAPHICS_I SET 1
INCLUDE "exec/nodes.i"
INCLUDE "utility/tagitem.i"
INCLUDE "graphics/displayinfo.i"
;
; Definition of CyberModeNode (Returned in AllocModeList)
;
STRUCTURE CyberModeNode,0
STRUCT cmn_Node,LN_SIZE
STRUCT cmn_ModeText,DISPLAYNAMELEN
ULONG cmn_DisplayID
UWORD cmn_Width
UWORD cmn_Height
UWORD cmn_Depth
APTR cmn_DisplayTagList
LABEL cmn_SIZEOF
;
; Parameters for GetCyberMapAttr()
;
CYBRMATTR_XMOD EQU $80000001 ; function returns BytesPerRow if its called with this parameter
CYBRMATTR_BPPIX EQU $80000002 ; BytesPerPixel shall be returned
CYBRMATTR_DISPADR EQU $80000003 ; do not use this ! private tag
CYBRMATTR_PIXFMT EQU $80000004 ; the pixel format is returned
CYBRMATTR_WIDTH EQU $80000005 ; returns width in pixels
CYBRMATTR_HEIGHT EQU $80000006 ; returns height in lines
CYBRMATTR_DEPTH EQU $80000007 ; returns bits per pixel
CYBRMATTR_ISCYBERGFX EQU $80000008 ; returns if supplied bitmap is a cybergfx one
;
; Parameters for GetCyberIDAttr()
;
CYBRIDATTR_PIXFMT EQU $80000001 ; the pixel format is returned
CYBRIDATTR_WIDTH EQU $80000002 ; returns visible width in pixels
CYBRIDATTR_HEIGHT EQU $80000003 ; returns visible height in lines
CYBRIDATTR_DEPTH EQU $80000004 ; returns bits per pixel
CYBRIDATTR_BPPIX EQU $80000005 ; BytesPerPixel shall be returned
;
; Tags for CModeRequestTagList()
;
CYBRMREQ_TB EQU (TAG_USER+$40000)
;
; FilterTags
;
CYBRMREQ_MinDepth EQU CYBRMREQ_TB+0 ; Minimum depth for displayed screenmode
CYBRMREQ_MaxDepth EQU CYBRMREQ_TB+1 ; Maximum depth " " "
CYBRMREQ_MinWidth EQU CYBRMREQ_TB+2 ; Minumum width " " "
CYBRMREQ_MaxWidth EQU CYBRMREQ_TB+3 ; Maximum width " " "
CYBRMREQ_MinHeight EQU CYBRMREQ_TB+4 ; Minumum height " " "
CYBRMREQ_MaxHeight EQU CYBRMREQ_TB+5 ; Minumum height " " "
CYBRMREQ_CModelArray EQU CYBRMREQ_TB+6 ; Filters certain color models
CYBRMREQ_WinTitle EQU CYBRMREQ_TB+20
CYBRMREQ_OKText EQU CYBRMREQ_TB+21
CYBRMREQ_CancelText EQU CYBRMREQ_TB+22
CYBRMREQ_Screen EQU CYBRMREQ_TB+30 ; Screen you wish the Requester to opened on
;
; Tags for BestCyberModeID()
;
CYBRBIDTG_TB EQU (TAG_USER+$50000)
;
; FilterTags
;
CYBRBIDTG_Depth EQU CYBRBIDTG_TB+0
CYBRBIDTG_NominalWidth EQU CYBRBIDTG_TB+1
CYBRBIDTG_NominalHeight EQU CYBRBIDTG_TB+2
CYBRBIDTG_MonitorID EQU CYBRBIDTG_TB+3
PIXFMT_LUT8 EQU 0
PIXFMT_RGB15 EQU 1
PIXFMT_BGR15 EQU 2
PIXFMT_RGB15PC EQU 3
PIXFMT_BGR15PC EQU 4
PIXFMT_RGB16 EQU 5
PIXFMT_BGR16 EQU 6
PIXFMT_RGB16PC EQU 7
PIXFMT_BGR16PC EQU 8
PIXFMT_RGB24 EQU 9
PIXFMT_BGR24 EQU 10
PIXFMT_ARGB32 EQU 11
PIXFMT_BGRA32 EQU 12
PIXFMT_RGBA32 EQU 13
PIXFMT_CNT EQU 14
;
; SrcRectangle formats defines for xxxPixelArray() calls
;
RECTFMT_RGB EQU 0
RECTFMT_RGBA EQU 1
RECTFMT_ARGB EQU 2
RECTFMT_LUT8 EQU 3
RECTFMT_GREY8 EQU 4
;
; Parameters for CVideoCtrlTagList()
;
SETVC_DPMSLevel EQU $88002001
DPMS_ON EQU 0 ; Full operation
DPMS_STANDBY EQU 1 ; Optional state of minimal power reduction
DPMS_SUSPEND EQU 2 ; Significant reduction of power consumption
DPMS_OFF EQU 3 ; Lowest level of power consumption
ENDC